import request from '@/utils/request'

export function getRoleInfo(data) {
  return request({
    url: '/rangeBuild/role/getRoleInfo',
    method: 'get',
    params: data
  })
}

export function updateRoleInfo(data) {
  return request({
    url: '/rangeBuild/role/updateRoleInfo',
    method: 'post',
    data
  })
}
